Component({
    properties: {
        commentInfo: {
            type: null
        },
        type: {
            type: null
        },
        score: {
            type: null
        },
        total: {
            type: null
        },
        storeid: {
            type: null
        }
    },
    data: {},
    lifetimes: {
        attached: function() {},
        moved: function() {},
        detached: function() {}
    },
    attached: function() {},
    ready: function() {},
    pageLifetimes: {
        show: function() {},
        hide: function() {},
        resize: function() {}
    },
    methods: {
        gotoCommentList: function() {
            2 == this.data.type && wx.navigateTo({
                url: "/packageC/o2o/o2oStore/o2oStore?store_id=" + this.data.storeid + "&fromHome=1&activeType=comment"
            });
        }
    }
});